package cool.mtc.base.plugin.generator.code.model.template.ui;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

/**
 * @author 明河
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public abstract class UiComponentTemplateParam extends BaseUiTemplateParam {

    public UiComponentTemplateParam(UiTemplateParam param) {
        BeanUtils.copyProperties(param ,this);
    }

    @Override
    public String getBaseRelativePath() {
        return "src/component/";
    }
}
